package com.udi.project.business.mobaile.user.controller;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/user_")
public class User_Controller {
    private String pre = "mobaile/user";

    @RequiresPermissions("user_:main:view")
    @GetMapping("/main")
    public String main(){
        return pre + "/main";
    }
}
